Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / ColorF Structure / ColorF Constructor / ColorF Constructor(Single[])
The values to assign to the red, green, blue, and alpha components of the color. This must be an array with four elements.

In This Topic
    ColorF Constructor(Single[])
    In This Topic
    Initializes a new instance of the ColorF struct.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal values() As System.Single _
    )
    public ColorF( 
       System.float[] values
    )

    Parameters

    values
    The values to assign to the red, green, blue, and alpha components of the color. This must be an array with four elements.
    Exceptions
    ExceptionDescription
    Thrown when values is null.
    Thrown when values contains more or less than four elements.
    See Also